<table cellpadding="0" cellspacing="0" width="100%" align="left" class="table-list">
    <col width="100%">
    <tr class="alt">
        <td>
            <div class="info_header">
                Thông tin khách hàng
            </div>
        </td>
    </tr>
    <tr class="alt">
        <td>
            <ul class="ul-list-order">
                <li class="list-order-header">Họ tên</li>
                <li><?php echo $aryCustomer['customer_full_name']; ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Ngày sinh</li>
                <li><?php echo date("d/m/Y", strtotime($aryCustomer['customer_date_birthday'])); ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Địa chỉ</li>
                <li><?php echo $aryCustomer['customer_address']; ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Điện thoại bàn</li>
                <li><?php echo $aryCustomer['customer_home_phone']; ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Điện thoại di dộng</li>
                <li><?php echo $aryCustomer['customer_mobile_phone']; ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Email</li>
                <li><?php echo $aryCustomer['customer_email']; ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Yahoo</li>
                <li><a href="ymsgr:sendIM?<?php echo $aryCustomer['customer_yahoo']; ?>"><img border="0" align="absmiddle" src="http://opi.yahoo.com/online?u=<?php echo $aryCustomer['customer_yahoo']; ?>&amp;m=g&amp;t=1"></a></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Skype</li>
                <li><a href="skype:<?php echo $aryCustomer['customer_skype']; ?>?chat"><img src="http://mystatus.skype.com/smallicon/<?php echo $aryCustomer['customer_skype']; ?>"></a></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Ngày tham gia</li>
                <li><?php echo date("d/m/Y", strtotime($aryCustomer['customer_join_date'])); ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Ngân hàng</li>
                <li><?php echo $aryCustomer['customer_bank_name']; ?></li>
            </ul>
            <ul class="ul-list-order">
                <li class="list-order-header">Số tài khoản</li>
                <li><?php echo $aryCustomer['customer_bank_number']; ?></li>
            </ul>

        </td>

    </tr>
</table>
<div style="height: 1px;clear: both;"></div>
<table cellpadding="0" cellspacing="0" width="100%" align="left" class="table-list">
    <?php if (isset($aryMyProduct[0])) { ?>
        <tr class="alt">
            <td colspan="13">
                <div class="info_header">
                    Thông tin sản phẩm đã mua
                </div>
            </td>
        </tr>
        <tr class="alt">
            <td class="order_product_title">
                Ngày
            </td>
            <td class="order_product_title">
                Tên sản phẩm
            </td>
            <td class="order_product_title">
                SL/ĐV
            </td>
            <td class="order_product_title">
                Giá nhập
            </td>
            <td class="order_product_title">
                Giá bán
            </td>
            <td class="order_product_title">
                Lãi
            </td>
            <td class="order_product_title">
                Thuế 25%
            </td>
            <td class="order_product_title">
                Phí VC
            </td>
            <td class="order_product_title">
                Phí DV
            </td>
            <td  class="order_product_title">
                Lợi nhận
            </td>
        </tr>

        <?php foreach ($aryMyProduct as $key => $value) { ?>
            <tr class="<?php echo ($key % 2 == 0) ? 'alt' : ''; ?>">
                <td align="left">
                    <?php echo date("d/m/Y", strtotime($value['customer_product_date_process'])); ?>
                </td>
                <td>
                    <?php echo $value['customer_product_product_name']; ?>
                </td>
                <td>
                    <?php echo $value['customer_product_number']; ?>/<?php echo $value['customer_product_unit']; ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_in_price'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_out_price'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_total_price'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_is_tax'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_transport'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_services'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_total_profit'], 0, ',', '.'); ?>
                </td>
            </tr>
        <?php } ?>
    <?php } else { ?>
        <div class="search_no_restul">Không có dữ liệu</div>
    <?php } ?>


</table>